﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace TrafficSimulation
{
    public class Pedestrian
    {
            public Pedestrian()
            {

            }

            #region properties

            public enum Direction { Up, Down, Left, Right }

            private Direction pedestrianDirection;
            public Direction PedestrianDirection
            {
                set { pedestrianDirection = value; }
                get { return pedestrianDirection; }
            }

            private Point startPoint;
            public Point StartPoint
            {
                set { startPoint = value; }
                get { return startPoint; }
            }

            private Point destinationPoint;
            public Point DestinationPoint
            {
                set { destinationPoint = value; }
                get { return destinationPoint; }
            }

            private Point currentPoint;
            public Point CurrentPoint
            {
                set { currentPoint = value; }
                get { return currentPoint; }
            }


            #endregion

            #region methods
            public void drawPedestrian()
            {
 
            }

            public void setPedestrianIcon()
            { }

            public void setPedestrianDestination()
            { }

            //connected with the  trafficLight:trafficLightPedestrian class because when pedestrian light is green
            // this function will work
            public void walkPedestrian()
            { }

            //connected with the trafficLight: trafficLightCar class becuase when the pedestrian presses the sensor,
            //it waits for car light to be red
            public void pressSensorPedestrian()
            { }





            #endregion
    }
}
